export const widgetDevice1 = {
  code: 'widget-device1',
  type: 'webConfDevice',
  tabName: '组态设备',
  label: '次氯酸钠发生器',
  iconImage:require('../../../image/次氯酸钠发生器.svg'),
  icon: '',
  options: {
    // 配置
    setup: [
      {
        type: 'el-input-text',
        label: '图层名称',
        name: 'layerName',
        required: false,
        placeholder: '',
        value: '次氯酸钠发生器',
      },
      {
        type: 'el-slider',
        label: '透明度',
        name: 'transparency',
        required: false,
        placeholder: '',
        value: 100
      },
      {
        type: 'el-switch',
        label: '左右镜像',
        name: 'leftRightImage',
        required: false,
        placeholder: '',
        value: false,
      },
      {
        type: 'el-switch',
        label: '上下镜像',
        name: 'topButtomImage',
        required: false,
        placeholder: '',
        value: false,
      },
    ],
    // 数据
    data: [],
    // 坐标
    position: [
      {
        type: 'el-input-number',
        label: '左边距',
        name: 'left',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '上边距',
        name: 'top',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '宽度',
        name: 'width',
        required: false,
        placeholder: '该容器在1920px大屏中的宽度',
        value: 300,
      },
      {
        type: 'el-input-number',
        label: '高度',
        name: 'height',
        required: false,
        placeholder: '该容器在1080px大屏中的高度',
        value: 200,
      },
      {
        type: 'el-input-number',
        label: '旋转角度',
        name: 'rotate',
        required: false,
        placeholder: '',
        value: 0,
      },
    ],
  }
}